function addformbookdata()
{
   $("#firstaddform").append('<div id="feature'+rowdiv+'" class="itPlg featureclass">'+dataform['bookdata']+"</div>");
   var rownow=rowdiv;
   
   //initialize($('#feature'+rownow+' .mapdata'));
    
   rowdiv++;
}
function saveformbookdata(id,plugid)
{
    var obj={};
    obj={
    plugid:plugid,
    pinapp:$("#"+id+' input[name="pinapp[]"]').val(),
    author:$("#"+id+' input[name="author[]"]').val(),
    publisher:$("#"+id+' input[name="publisher[]"]').val()
    };
    return obj;

}
function getformbookdata(dataplugin)
{
var code ='';

return code;

}
function editformbookdata(datarow)  
{
             addformbookdata();
             var rownow= rowdiv-1;

              $('#feature'+rownow+' input[name="pinapp[]"]').val(datarow.pinapp);
              $('#feature'+rownow+' input[name="author[]"]').val(datarow.author); 
              $('#feature'+rownow+' input[name="publisher[]"]').val(datarow.publisher);
              
            
}

